var DOKU_BASE='/';var alertText='Please enter the text you want to format.\nIt will be appended to the end of the document.';var notSavedYet='Unsaved changes will be lost.\nReally continue?';var reallyDel='Really delete selected item(s)?';LANG={"keepopen":"Keep window open on selection","hidedetails":"Hide Details"};function addEvent(element,type,handler){if(!handler.$$guid)handler.$$guid=addEvent.guid++;if(!element.events)element.events={};var handlers=element.events[type];if(!handlers){handlers=element.events[type]={};if(element["on"+type]){handlers[0]=element["on"+type];}}handlers[handler.$$guid]=handler;element["on"+type]=handleEvent;};addEvent.guid=1;function removeEvent(element,type,handler){if(element.events&&element.events[type]){delete element.events[type][handler.$$guid];}};function handleEvent(event){var returnValue=true;event=event||fixEvent(window.event);var handlers=this.events[event.type];for(var i in handlers){this.$$handleEvent=handlers[i];if(this.$$handleEvent(event)===false){returnValue=false;}}return returnValue;};function fixEvent(event){event.preventDefault=fixEvent.preventDefault;event.stopPropagation=fixEvent.stopPropagation;event.target=event.srcElement;return event;};fixEvent.preventDefault=function(){this.returnValue=false;};fixEvent.stopPropagation=function(){this.cancelBubble=true;};window.fireoninit=function(){if(arguments.callee.done)return;arguments.callee.done=true;if(_timer){clearInterval(_timer);_timer=null;}if(typeof window.oninit=='function'){window.oninit();}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",window.fireoninit,null);}/*@cc_on @*//*@if(@_win32)document.write("<\/script>");var script=document.getElementById("__ie_init");script.onreadystatechange=function(){if(this.readyState=="complete"){window.fireoninit();}};/*@end @*/if(/WebKit/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){window.fireoninit();}},10);}window.onload=window.fireoninit;window.oninit=function(){};function addInitEvent(func){var oldoninit=window.oninit;if(typeof window.oninit!='function'){window.oninit=func;}else{window.oninit=function(){oldoninit();func();};}}var clientPC=navigator.userAgent.toLowerCase();var is_gecko=((clientPC.indexOf('gecko')!=-1)&&(clientPC.indexOf('spoofer')==-1)&&(clientPC.indexOf('khtml')==-1)&&(clientPC.indexOf('netscape/7.0')==-1));var is_safari=((clientPC.indexOf('AppleWebKit')!=-1)&&(clientPC.indexOf('spoofer')==-1));var is_khtml=(navigator.vendor=='KDE'||(document.childNodes&&!document.all&&!navigator.taintEnabled));if(clientPC.indexOf('opera')!=-1){var is_opera=true;var is_opera_preseven=(window.opera&&!document.childNodes);var is_opera_seven=(window.opera&&document.childNodes);}function updateAccessKeyTooltip(){var tip='ALT+';if(domLib_isMac){tip='CTRL+';}if(domLib_isOpera){tip='SHIFT+ESC ';}if(tip=='ALT+'){return;}var exp=/\[ALT\+/i;var rep='['+tip;var elements=domLib_getElementsByTagNames(['a','input','button']);for(var i=0;i0){elements[i].title=elements[i].title.replace(exp,rep);}}}function $(){var elements=new Array();for(var i=0;i');}function hideLoadBar(id){obj=$(id);if(obj)obj.style.display="none";}function addTocToggle(){if(!document.getElementById)return;var header=$('toc__header');if(!header)return;var showimg=document.createElement('img');showimg.id='toc__show';showimg.src=DOKU_BASE+'lib/images/arrow_down.gif';showimg.alt='+';showimg.onclick=toggleToc;showimg.style.display='none';var hideimg=document.createElement('img');hideimg.id='toc__hide';hideimg.src=DOKU_BASE+'lib/images/arrow_up.gif';hideimg.alt='-';hideimg.onclick=toggleToc;prependChild(header,showimg);prependChild(header,hideimg);}function toggleToc(){var toc=$('toc__inside');var showimg=$('toc__show');var hideimg=$('toc__hide');if(toc.style.display=='none'){toc.style.display='';hideimg.style.display='';showimg.style.display='none';}else{toc.style.display='none';hideimg.style.display='none';showimg.style.display='';}}function checkAclLevel(){if(document.getElementById){var scope=$('acl_scope').value;if((scope.indexOf(":*")>0)||(scope=="*")){document.getElementsByName('acl_checkbox[4]')[0].disabled=false;document.getElementsByName('acl_checkbox[8]')[0].disabled=false;}else{document.getElementsByName('acl_checkbox[4]')[0].checked=false;document.getElementsByName('acl_checkbox[8]')[0].checked=false;document.getElementsByName('acl_checkbox[4]')[0].disabled=true;document.getElementsByName('acl_checkbox[8]')[0].disabled=true;}}}var currentFootnote=0;function fnt(id,e,evt){if(currentFootnote&&id!=currentFootnote){domTT_close($('insitu__fn'+currentFootnote));}var fnote=$('insitu__fn'+id);var footnote;if(!fnote){var a=$("fn__"+id);if(!a){return;}footnote=new String(a.parentNode.innerHTML);footnote=footnote.replace(//gi,'');footnote=footnote.replace(/^\s+(,\s+)+/,'');footnote=footnote.replace(/\bid=\"(.*?)\"/gi,'id="insitu__$1');}else{footnote=new String(fnt.innerHTML);}domTT_activate(e,evt,'content',footnote,'type','velcro','id','insitu__fn'+id,'styleClass','insitu-footnote JSpopup dokuwiki','maxWidth',document.body.offsetWidth*0.4);currentFootnote=id;}function initSizeCtl(ctlid,edid){if(!document.getElementById){return;}var ctl=$(ctlid);var textarea=$(edid);if(!ctl||!textarea)return;var hgt=DokuCookie.getValue('sizeCtl');if(hgt){textarea.style.height=hgt;}else{textarea.style.height='300px';}var l=document.createElement('img');var s=document.createElement('img');var w=document.createElement('img');l.src=DOKU_BASE+'lib/images/larger.gif';s.src=DOKU_BASE+'lib/images/smaller.gif';w.src=DOKU_BASE+'lib/images/wrap.gif';addEvent(l,'click',function(){sizeCtl(edid,100);});addEvent(s,'click',function(){sizeCtl(edid,-100);});addEvent(w,'click',function(){toggleWrap(edid);});ctl.appendChild(l);ctl.appendChild(s);ctl.appendChild(w);}function sizeCtl(edid,val){var textarea=$(edid);var height=parseInt(textarea.style.height.substr(0,textarea.style.height.length-2));height+=val;textarea.style.height=height+'px';DokuCookie.setValue('sizeCtl',textarea.style.height);}function toggleWrap(edid){var txtarea=$(edid);var wrap=txtarea.getAttribute('wrap');if(wrap&&wrap.toLowerCase()=='off'){txtarea.setAttribute('wrap','soft');}else{txtarea.setAttribute('wrap','off');}var parNod=txtarea.parentNode;var nxtSib=txtarea.nextSibling;parNod.removeChild(txtarea);parNod.insertBefore(txtarea,nxtSib);}function closePopups(){if(!document.getElementById){return;}var divs=document.getElementsByTagName('div');for(var i=0;iselectOffsets.get('leftCenter')&&objectOffsets.get('left')>selectOffsets.get('right'))||(objectOffsets.get('topCenter')<=selectOffsets.get('topCenter')&&objectOffsets.get('bottom')selectOffsets.get('topCenter')&&objectOffsets.get('top')>selectOffsets.get('bottom'))){thisElement.hideList.remove(in_object.id);if(!thisElement.hideList.length){thisElement.style.visibility='visible';if(domLib_isKonq){thisElement.style.display='';}}}else{thisElement.hideList.set(in_object.id,true);thisElement.style.visibility='hidden';if(domLib_isKonq){thisElement.style.display='none';}}}}}function domLib_getOffsets(in_object){var originalObject=in_object;var originalWidth=in_object.offsetWidth;var originalHeight=in_object.offsetHeight;var offsetLeft=0;var offsetTop=0;while(in_object){offsetLeft+=in_object.offsetLeft;offsetTop+=in_object.offsetTop;in_object=in_object.offsetParent;}if(domLib_isMacIE){offsetLeft+=10;offsetTop+=10;}return new Hash('left',offsetLeft,'top',offsetTop,'right',offsetLeft+originalWidth,'bottom',offsetTop+originalHeight,'leftCenter',offsetLeft+originalWidth/2,'topCenter',offsetTop+originalHeight/2,'radius',Math.max(originalWidth,originalHeight));}function domLib_setTimeout(in_function,in_timeout,in_args){if(typeof(in_args)=='undefined'){in_args=[];}if(in_timeout==-1){return;}else if(in_timeout===0){in_function(in_args);return 0;}var args=domLib_clone(in_args);if(!domLib_hasBrokenTimeout){return setTimeout(function(){in_function(args);},in_timeout);}else{var id=domLib_timeoutStateId++;var data=new Hash();data.set('function',in_function);data.set('args',args);domLib_timeoutStates.set(id,data);data.set('timeoutId',setTimeout('domLib_timeoutStates.get('+id+').get(\'function\')(domLib_timeoutStates.get('+id+').get(\'args\')); domLib_timeoutStates.remove('+id+');',in_timeout));return id;}}function domLib_clearTimeout(in_id){if(!domLib_hasBrokenTimeout){clearTimeout(in_id);}else{if(domLib_timeoutStates.has(in_id)){clearTimeout(domLib_timeoutStates.get(in_id).get('timeoutId'));domLib_timeoutStates.remove(in_id);}}}function domLib_getEventPosition(in_eventObj){var eventPosition=new Hash('x',0,'y',0,'scrollX',0,'scrollY',0);if(domLib_isIE){var doc=(domLib_standardsMode?document.documentElement:document.body);if(doc){eventPosition.set('x',in_eventObj.clientX+doc.scrollLeft);eventPosition.set('y',in_eventObj.clientY+doc.scrollTop);eventPosition.set('scrollX',doc.scrollLeft);eventPosition.set('scrollY',doc.scrollTop);}}else{eventPosition.set('x',in_eventObj.pageX);eventPosition.set('y',in_eventObj.pageY);eventPosition.set('scrollX',in_eventObj.pageX-in_eventObj.clientX);eventPosition.set('scrollY',in_eventObj.pageY-in_eventObj.clientY);}return eventPosition;}function domLib_cancelBubble(in_event){var eventObj=in_event?in_event:window.event;eventObj.cancelBubble=true;}function domLib_getIFrameReference(in_frame){if(domLib_isGecko||domLib_isIE){return in_frame.frameElement;}else{var name=in_frame.name;if(!name||!in_frame.parent){return;}var candidates=in_frame.parent.document.getElementsByTagName('iframe');for(var i=0;imaxWidth){tipObj.style.width=maxWidth+'px';}in_options.set('offsetWidth',tipObj.offsetWidth);in_options.set('offsetHeight',tipObj.offsetHeight);if(domLib_isKonq&&tableLayout&&!tipObj.style.width){var left=document.defaultView.getComputedStyle(tipObj,'').getPropertyValue('border-left-width');var right=document.defaultView.getComputedStyle(tipObj,'').getPropertyValue('border-right-width');left=left.substring(left.indexOf(':')+2,left.indexOf(';'));right=right.substring(right.indexOf(':')+2,right.indexOf(';'));var correction=2*((left?parseInt(left):0)+(right?parseInt(right):0));tipObj.style.width=(tipObj.offsetWidth-correction)+'px';}if(domLib_isIE||domLib_isOpera){if(!tipObj.style.width){tipObj.style.width=(tipObj.offsetWidth-2)+'px';}tipObj.style.height=(tipObj.offsetHeight-2)+'px';}var offsetX,offsetY;if(in_options.get('position')=='absolute'&&!(in_options.has('x')&&in_options.has('y'))){switch(in_options.get('direction')){case 'northeast':offsetX=in_options.get('offsetX');offsetY=0-tipObj.offsetHeight-in_options.get('offsetY');break;case 'northwest':offsetX=0-tipObj.offsetWidth-in_options.get('offsetX');offsetY=0-tipObj.offsetHeight-in_options.get('offsetY');break;case 'north':offsetX=0-parseInt(tipObj.offsetWidth/2);offsetY=0-tipObj.offsetHeight-in_options.get('offsetY');break;case 'southwest':offsetX=0-tipObj.offsetWidth-in_options.get('offsetX');offsetY=in_options.get('offsetY');break;case 'southeast':offsetX=in_options.get('offsetX');offsetY=in_options.get('offsetY');break;case 'south':offsetX=0-parseInt(tipObj.offsetWidth/2);offsetY=in_options.get('offsetY');break;}if(in_options.get('inframe')){var iframeObj=domLib_getIFrameReference(window);if(iframeObj){var frameOffsets=domLib_getOffsets(iframeObj);offsetX+=frameOffsets.get('left');offsetY+=frameOffsets.get('top');}}}else{offsetX=0;offsetY=0;in_options.set('trail',false);}in_options.set('offsetX',offsetX);in_options.set('offsetY',offsetY);if(in_options.get('clearMouse')&&in_options.get('direction').indexOf('south')!=-1){in_options.set('mouseOffset',domTT_mouseHeight);}else{in_options.set('mouseOffset',0);}if(domLib_canFade&&typeof(Fadomatic)=='function'){if(in_options.get('fade')!='neither'){var fadeHandler=new Fadomatic(tipObj,10,0,0,in_options.get('fadeMax'));in_options.set('fadeHandler',fadeHandler);}}else{in_options.set('fade','neither');}if(in_options.get('trail')&&typeof(tipOwner.onmousemove)!='function'){tipOwner.onmousemove=function(in_event){domTT_mousemove(this,in_event);};}if(typeof(tipOwner.onmouseout)!='function'){tipOwner.onmouseout=function(in_event){domTT_mouseout(this,in_event);};}if(in_options.get('type')=='sticky'){if(in_options.get('position')=='absolute'&&domTT_dragEnabled&&in_options.get('draggable')){if(domLib_isIE){captionRow.onselectstart=function(){return false;};}captionRow.onmousedown=function(in_event){domTT_dragStart(tipObj,in_event);};captionRow.onmousemove=function(in_event){domTT_dragUpdate(in_event);};captionRow.onmouseup=function(){domTT_dragStop();};}}else if(in_options.get('type')=='velcro'){tipObj.onmouseout=function(in_event){if(typeof(in_event)=='undefined'){in_event=event;}if(!domLib_isDescendantOf(in_event[domLib_eventTo],tipObj)){domTT_deactivate(tipOwner.id);}};}if(in_options.get('position')=='relative'){tipObj.style.position='relative';}in_options.set('node',tipObj);in_options.set('status','inactive');};function domTT_show(in_id,in_event){var tooltip=domTT_tooltips.get(in_id);var status=tooltip.get('status');var tipObj=tooltip.get('node');if(tooltip.get('position')=='absolute'){var mouseX,mouseY;if(tooltip.has('x')&&tooltip.has('y')){mouseX=tooltip.get('x');mouseY=tooltip.get('y');}else if(!domTT_useGlobalMousePosition||status=='active'||tooltip.get('delay')==0){var eventPosition=domLib_getEventPosition(in_event);var eventX=eventPosition.get('x');var eventY=eventPosition.get('y');if(tooltip.get('inframe')){eventX-=eventPosition.get('scrollX');eventY-=eventPosition.get('scrollY');}if(status=='active'&&tooltip.get('trail')!==true){var trail=tooltip.get('trail');if(trail=='x'){mouseX=eventX;mouseY=tooltip.get('mouseY');}else if(trail=='y'){mouseX=tooltip.get('mouseX');mouseY=eventY;}}else{mouseX=eventX;mouseY=eventY;}}else{mouseX=domTT_mousePosition.get('x');mouseY=domTT_mousePosition.get('y');if(tooltip.get('inframe')){mouseX-=domTT_mousePosition.get('scrollX');mouseY-=domTT_mousePosition.get('scrollY');}}if(tooltip.get('grid')){if(in_event.type!='mousemove'||(status=='active'&&(Math.abs(tooltip.get('lastX')-mouseX)>tooltip.get('grid')||Math.abs(tooltip.get('lastY')-mouseY)>tooltip.get('grid')))){tooltip.set('lastX',mouseX);tooltip.set('lastY',mouseY);}else{return false;}}tooltip.set('mouseX',mouseX);tooltip.set('mouseY',mouseY);var coordinates;if(domTT_screenEdgeDetection){coordinates=domTT_correctEdgeBleed(tooltip.get('offsetWidth'),tooltip.get('offsetHeight'),mouseX,mouseY,tooltip.get('offsetX'),tooltip.get('offsetY'),tooltip.get('mouseOffset'),tooltip.get('inframe')?window.parent:window);}else{coordinates={'x':mouseX+tooltip.get('offsetX'),'y':mouseY+tooltip.get('offsetY')+tooltip.get('mouseOffset')};}tipObj.style.left=coordinates.x+'px';tipObj.style.top=coordinates.y+'px';tipObj.style.zIndex=domLib_zIndex++;}if(status=='pending'){tooltip.set('status','active');tipObj.style.display='';tipObj.style.visibility='visible';var fade=tooltip.get('fade');if(fade!='neither'){var fadeHandler=tooltip.get('fadeHandler');if(fade=='out'||fade=='both'){fadeHandler.haltFade();if(fade=='out'){fadeHandler.halt();}}if(fade=='in'||fade=='both'){fadeHandler.fadeIn();}}if(tooltip.get('type')=='greasy'&&tooltip.get('lifetime')!=0){tooltip.set('lifetimeTimeout',domLib_setTimeout(domTT_runDeactivate,tooltip.get('lifetime'),[tipObj.id]));}}if(tooltip.get('position')=='absolute'){domLib_detectCollisions(tipObj);}}function domTT_close(in_handle){var id;if(typeof(in_handle)=='object'&&in_handle.nodeType){var obj=in_handle;while(!obj.id||!domTT_tooltips.get(obj.id)){obj=obj.parentNode;if(obj.nodeType!=document.ELEMENT_NODE){return;}}id=obj.id;}else{id=in_handle;}domTT_deactivate(id);}function domTT_deactivate(in_id){var tooltip=domTT_tooltips.get(in_id);if(tooltip){var status=tooltip.get('status');if(status=='pending'){domLib_clearTimeout(tooltip.get('activateTimeout'));tooltip.set('status','inactive');}else if(status=='active'){if(tooltip.get('lifetime')){domLib_clearTimeout(tooltip.get('lifetimeTimeout'));}var tipObj=tooltip.get('node');if(tooltip.get('closeAction')=='hide'){var fade=tooltip.get('fade');if(fade!='neither'){var fadeHandler=tooltip.get('fadeHandler');if(fade=='out'||fade=='both'){fadeHandler.fadeOut();}else{fadeHandler.hide();}}else{tipObj.style.display='none';}}else{tooltip.get('parent').removeChild(tipObj);domTT_tooltips.remove(tooltip.get('owner').id);domTT_tooltips.remove(tooltip.get('id'));}tooltip.set('status','inactive');domLib_detectCollisions(tipObj,true);}}}function domTT_mouseout(in_owner,in_event){if(!domLib_useLibrary){return false;}if(typeof(in_event)=='undefined'){in_event=event;}var toChild=domLib_isDescendantOf(in_event[domLib_eventTo],in_owner);var tooltip=domTT_tooltips.get(in_owner.id);if(tooltip&&(tooltip.get('type')=='greasy'||tooltip.get('status')!='active')){if(!toChild){domTT_deactivate(in_owner.id);try{window.status=window.defaultStatus;}catch(e){}}}else if(!toChild){try{window.status=window.defaultStatus;}catch(e){}}}function domTT_mousemove(in_owner,in_event){if(!domLib_useLibrary){return false;}if(typeof(in_event)=='undefined'){in_event=event;}var tooltip=domTT_tooltips.get(in_owner.id);if(tooltip&&tooltip.get('trail')&&tooltip.get('status')=='active'){if(tooltip.get('lazy')){domLib_setTimeout(domTT_runShow,domTT_trailDelay,[in_owner.id,in_event]);}else{domTT_show(in_owner.id,in_event);}}}function domTT_addPredefined(in_id){var options=new Hash();for(var i=1;i0){x-=bleedRight;}if((x-pageXOffset)0){y=in_y-in_height-in_offsetY;}if((y-pageYOffset)